	$(document).ready(function(){
			var  sid = 1;
			$.ajax({
				url:d+"/memorylist",
				type:"POST",
				data:JSON.stringify({sid:sid}),
				contentType:'application/json;charset=utf-8',
				dataType:"json",
				success:function(data){
					for(var i=0;i<data['memory'].length;i+=3){
						var str=('<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i].mid+'">'+
						'<img src="'+data['memory'][i].mpic+'" style="width:100%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+1].mid+'">'+
						'<img src="'+data['memory'][i+1].mpic+'" style="width:50%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+2].mid+'">'+
						'<img src="'+data['memory'][i+2].mpic+'" style="width:50%"></a>'
						);
						$("#baby").append(str);
						$("#baby").listview('refresh');
					}
				},
				error:function(data){
//					alert("服务器繁忙");
				}
		});	    
	});
	
	
	$(document).ready(function(){
			var  sid = 2;
			$.ajax({
				url:d+"/memorylist",
				type:"POST",
				data:JSON.stringify({sid:sid}),
				contentType:'application/json;charset=utf-8',
				dataType:"json",
				success:function(data){
					for(var i=0;i<data['memory'].length;i+=3){
						var str=('<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i].mid+'">'+
						'<img src="'+data['memory'][i].mpic+'" style="width:100%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+1].mid+'">'+
						'<img src="'+data['memory'][i+1].mpic+'" style="width:50%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+2].mid+'">'+
						'<img src="'+data['memory'][i+2].mpic+'" style="width:50%"></a>'
						);
						$("#child").append(str);
						$("#child").listview('refresh');
					}
				},
				error:function(data){
//					alert("服务器繁忙");
				}
		});	    
	});

	$(document).ready(function(){
			var  sid = 3;
			$.ajax({
				url:d+"/memorylist",
				type:"POST",
				data:JSON.stringify({sid:sid}),
				contentType:'application/json;charset=utf-8',
				dataType:"json",
				success:function(data){
					for(var i=0;i<data['memory'].length;i+=3){
						var str=('<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i].mid+'">'+
						'<img src="'+data['memory'][i].mpic+'" style="width:100%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+1].mid+'">'+
						'<img src="'+data['memory'][i+1].mpic+'" style="width:50%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+2].mid+'">'+
						'<img src="'+data['memory'][i+2].mpic+'" style="width:50%"></a>'
						);
						$("#teenager").append(str);
						$("#teenager").listview('refresh');
					}
				},
				error:function(data){
//					alert("服务器繁忙");
				}
		});	    
	});
	
	
	$(document).ready(function(){
			var  sid = 4;
			$.ajax({
				url:d+"/memorylist",
				type:"POST",
				data:JSON.stringify({sid:sid}),
				contentType:'application/json;charset=utf-8',
				dataType:"json",
				success:function(data){
					for(var i=0;i<data['memory'].length;i+=3){
						var str=('<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i].mid+'">'+
						'<img src="'+data['memory'][i].mpic+'" style="width:100%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+1].mid+'">'+
						'<img src="'+data['memory'][i+1].mpic+'" style="width:50%"></a>'+
						'<a data-ajax="false" href="memorydetail.html?mid='+data['memory'][i+2].mid+'">'+
						'<img src="'+data['memory'][i+2].mpic+'" style="width:50%"></a>'
						);
						$("#college").append(str);
						$("#college").listview('refresh');
					}
				},
				error:function(data){
//					alert("服务器繁忙");
				}
		});	    
	});
